<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<html>
<head>
    <title><sitemesh:write property='title'/></title>
    <link href="public/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
    <link href="public/bootstrap/css/bootstrap-theme.css" rel="stylesheet"/>
    <script type="text/javascript" src="public/jquery/jquery.js"></script>
    <script type="text/javascript" src="public/bootstrap/js/bootstrap.min.js"></script>
    <sitemesh:write property='head'/>
</head>
<body>
<!-- Fixed navbar -->
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
    <div class="container">
        <div class="navbar-header">
            <a class="navbar-brand" href="#">模板项目</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                <li><a href="./">首页</a></li>
                <li><a href="welcome">欢迎</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li>
                    <a href="javascript:void(0)">
                        <security:authentication property="principal.username"/>
                    </a>
                </li>
                <li><a href="logout">退出</a></li>
            </ul>
        </div>
        <!--/.nav-collapse -->
    </div>
</nav>

<div class="container" style="height: 85%; margin-top: 60px;">
    <sitemesh:write property='body'/>
</div>
<!-- /container -->
</body>
</html>